projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a567888
)
Xend forgets to write the domain's VDI UUID into the domain state file
author
Keir Fraser
<keir.fraser@citrix.com>
Tue, 18 Mar 2008 13:14:26 +0000
(13:14 +0000)
committer
Keir Fraser
<keir.fraser@citrix.com>
Tue, 18 Mar 2008 13:14:26 +0000
(13:14 +0000)
once the domain is started (before it's there). Once xend is restarted
it will not know the association between the VBD and VDI anymore due
to the missing UUID. This patch fixes this.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
tools/python/xen/xend/XendConfig.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xend/XendConfig.py
b/tools/python/xen/xend/XendConfig.py
index eaa9eee01e707fb81e290dfd2910f5fffd11bfd4..09a0cb301384fc8eb901bf4a5278da19a63e71b5 100644
(file)
--- a/
tools/python/xen/xend/XendConfig.py
+++ b/
tools/python/xen/xend/XendConfig.py
@@
-991,6
+991,7
@@
class XendConfig(dict):
dev_type, dev_cfg = self['devices'][dev_uuid]
is_bootable = dev_cfg.get('bootable', 0)
config.append(['bootable', int(is_bootable)])
+ config.append(['VDI'], dev_cfg.get('VDI', ''))
sxpr.append(['device', config])